package com.xbongbong.saas.service;

import com.xbongbong.paas.pojo.vo.FormDataAddGetVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.customer.pojo.dto.ScanCardDTO;
import com.xbongbong.pro.formexplain.pojo.vo.LinkFormItemVO;

/**
 * @author jiping.yang
 * @Title: 名片扫描单独接口
 * @date 2021/5/20 14:35
 */
public interface ScanCardService {


    /**
     * cc扫描王
     * 名片扫描新建页
     * @param baseDTO
     * @return
     */
    FormDataAddGetVO customerCardGet(BaseDTO baseDTO) throws XbbException;

    /**
     * cc扫描王
     * 名片扫描联系人新建页
     * @param baseDTO
     * @return
     */
    FormDataAddGetVO contactCardGet(BaseDTO baseDTO) throws XbbException;

    /**
     * 企业客户新建联系人
     * @param baseDTO
     * @return
     * @throws XbbException
     */
    LinkFormItemVO customerCardContactGet(BaseDTO baseDTO) throws XbbException;

    /**
     * 获取名片扫描王的返回数据
     * @param scanCardDTO
     * @return
     * @throws XbbException
     */
    BaseVO requestCcCard(ScanCardDTO scanCardDTO) throws XbbException;
}